c program repeated characters in a string